package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import com.mbc.rmt.data.WaitingCOADataList;
import com.mbc.rmt.entities.WaitingCOA;
import com.mbc.rmt.entities.WaitingCOARpt;

public interface WaitingCOADAO {

	public void create(WaitingCOA entity) throws SQLException;

	public void update(WaitingCOA entity) throws SQLException;

	public void delete(long key) throws SQLException;

	public WaitingCOA find(long key) throws SQLException;

	public WaitingCOA findByCode(String code,long branchId) throws SQLException;

	public List<WaitingCOA> findAll() throws SQLException;

	public WaitingCOADataList findWaitingCOAs(WaitingCOA cri)
			throws SQLException;
	
	public WaitingCOADataList getWaitingCOAList(WaitingCOARpt info)
			throws SQLException;
	
	ResultSet prepareWaitingCOAReport(WaitingCOARpt info
			) throws SQLException;
}
